package com.golang.api.domain;

import com.golang.api.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 订单对象 order_info
 *
 * @author ruoyi
 * @date 2025-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OrderInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * 订单号
     */
    @Excel(name = "订单号")
    private String orderId;

    /**
     * 活动标题
     */
    @Excel(name = "活动标题")
    private String activityTitle;

    /**
     * 社群Id
     */
    @Excel(name = "社群Id")
    private String communityId;

    /**
     * 活动编码
     */
    @Excel(name = "活动编码")
    private String activityId;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 订单状态：0待支付，1已支付，2已退款，3取消
     */
    @Excel(name = "订单状态：0待支付，1已支付，2已退款，3取消")
    private Integer orderStatus;

    /**
     * 报名宣言
     */
    @Excel(name = "报名宣言")
    private String declaration;

    /**
     * 必须回答问题
     */
    @Excel(name = "必须回答问题")
    private String requiredAnswer;

    /**
     * 总金额
     */
    @Excel(name = "总金额")
    private BigDecimal totalAmount;

    /**
     * 报名照片
     */
    @Excel(name = "报名照片")
    private String applyPic;

}
